package com.blog.backend.service;

import com.blog.backend.req.FoodReq;
import com.blog.backend.req.ListFoodReq;
import com.blog.backend.resp.DoorHotFoodResp;
import com.blog.backend.resp.FoodResp;
import com.blog.backend.vo.PageRequest;
import com.blog.backend.vo.PageResult;

public interface FoodService {
    Boolean insertFood(FoodReq foodReq);

    PageResult<FoodResp> selectFoodList(ListFoodReq req);

    FoodResp selectFoodDetail(String foodId);

    Boolean updateFoodDetail(FoodReq foodReq);

    Boolean deleteFood(String foodId);

    DoorHotFoodResp getHotFoodList();

    PageResult<FoodResp> getDoorFoodList(ListFoodReq request);
}
